package com.ymttest.database.sharding.db.sharding.mapper;

import com.ymttest.database.sharding.db.sharding.model.AutoReceiveOptExample;
import com.ymttest.database.sharding.db.sharding.model.AutoReceiveOptPo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AutoReceiveOptMapper {
    int countByExample(AutoReceiveOptExample example);

    int deleteByExample(AutoReceiveOptExample example);

    int deleteByPrimaryKey(Long orderId);

    int insert(AutoReceiveOptPo record);

    int insertSelective(AutoReceiveOptPo record);

    List<AutoReceiveOptPo> selectByExample(AutoReceiveOptExample example);

    AutoReceiveOptPo selectByPrimaryKey(Long orderId);

    int updateByExampleSelective(@Param("record") AutoReceiveOptPo record, @Param("example") AutoReceiveOptExample example);

    int updateByExample(@Param("record") AutoReceiveOptPo record, @Param("example") AutoReceiveOptExample example);

    int updateByPrimaryKeySelective(AutoReceiveOptPo record);

    int updateByPrimaryKey(AutoReceiveOptPo record);
}